MPHB\Upgrader C

Total Complexity 113
Dependencies 18
Dependents 1
Total lines 1,182
Lines of code 625
Logical lines of code 310
Comment lines 244
Methods 53
Properties 7

Methods 53

Method Rating Maintainability Complexity Lines of code
fixGlobalRule()
S
50 7 28
convertSeasonPricesForV5_0_0()
S
49 6 29
fixOldSeasonPricesForV5_0_2()
S
51 6 27
fixForV2_2_0()
S
47 4 36
fixForV2_0_0()
S
48 4 35
fixForV4_2_0()
S
49 4 31
checkVersion()
S
62 5 11
convertCouponFieldsForV5_0_0()
S
52 4 24
upgrade()
S
54 4 21
addIndexesToSyncTablesSince_4_0_0()
S
58 4 15
updateDBVersion()
S
62 4 12
addBookingCancellationPage()
S
55 3 20
addMyAccountPage()
S
55 3 20
fixForV5_2_0()
S
57 3 17
fixForV2_3_0()
S
58 3 16
getProgress()
S
59 3 14
createTableCustomers()
S
51 1 30
fixSessionOptions()
S
59 2 13
forceUpgrade()
S
62 2 12
createTableApiKeys()
S
56 1 20
showUpgradeNotice()
S
74 2 5
fixForV1_1_0()
S
64 2 10
fixForV4_4_0()
S
64 2 10
getCurrentDBVersion()
S
74 2 4
setScheduledVersion()
S
69 2 7
changeOptionName()
S
68 2 7
sortCustomRulesForV5_0_0()
S
68 2 7
improveStats()
S
61 1 14
fixForV3_0_2()
S
61 1 13
moveSyncUrls()
S
62 1 13
__construct()
S
62 1 11
blockNewBookings()
S
80 1 3
fixCleanOldRules()
S
68 1 8
flushRewriteRules()
S
77 1 4
fixForV3_0_0()
S
72 1 6
fixForV3_2_0()
S
73 1 5
stopSynchronization()
S
91 1 2
markImported()
S
82 1 3
createUploadsDir()
S
77 1 4
removeOutdatedStripeOptions()
S
70 1 7
startAutodeleteOfSyncLogs()
S
82 1 3
hideUpgradeNotice()
S
82 1 3
alterTableSyncLogs()
S
68 1 7
getScheduledVersion()
S
79 1 3
addDBVersionToHistory()
S
73 1 5
resetDBVersion()
S
81 1 3
upgradeAfterImport()
S
82 1 3
getTotalQueueSize()
S
79 1 3
setTotalQueueSize()
S
80 1 3
getQueueSize()
S
80 1 3
complete()
S
73 1 5
fixForV4_5_0()
S
72 1 5
checkLicenseStatusForV5_0_0()
S
74 1 5